feat(icons): ReceiptAi — add to react-native + refresh art (web + mobile)#4708
Conversation
Ports ReceiptAi to @factorialco/f0-react-native so mobile can use the same
design-system icon the web package already ships (f0-react/icons/ai/ReceiptAi).
The RN package builds icons from its own assets/icons/{app,modules} and had no
ai/ group, so the whole ai/ set was web-only. Adds an `ai` group seeded with
receipt-ai.svg:
- assets/icons/ai/receipt-ai.svg (currentColor source)
- generate-icons: add "ai" to GROUPS
- regenerated src/icons/ai/{ReceiptAi.tsx,index.ts}
- src/icons/index.ts: export AiIcons
- package.json: add ./icons/ai export
Consumed as: import { ReceiptAi } from '@factorialco/f0-react-native/icons/ai'
generate-icons --check passes; no churn in app/modules.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
📦 Alpha Package Version PublishedUse Use |
📱 Expo Go Preview Published
Replaces the ReceiptAi art with the designer's re-exported version (cleaner
Spark is fill-only, matching the rest of the ai/ set (search, summary, …). Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com`
LinksQR Code |
Replaces the ReceiptAi art with the designer's re-exported version (cleaner receipt + spark) across the shared source and both packages: - core assets/icons/ai/receipt-ai.svg + regenerated react ReceiptAi.tsx (web) - react-native assets/icons/ai/receipt-ai.svg + regenerated ReceiptAi.tsx (mobile) Spark is fill-only, matching the rest of the ai/ set (search, summary, …). generate-icons --check passes; no churn in app/modules. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ No New Circular DependenciesNo new circular dependencies detected. Current count: 0 |
🔍 Visual review for your branch is published 🔍Here are the links to: |
✅ No breaking public API changesNo public exports were removed, renamed, or had existing props/types changed in a breaking way compared to Comparing
|
Coverage Report for packages/react
File Coverage
|
||||||||||||||||||||||||||||||||||||||
What
Two things, both scoped to the
ai/icon set:ReceiptAitoreact-nativevia a newai/group (mirrors howreactalready exposesAiIcons). New RN generate script,ai/group wiring,./icons/aiexport.ReceiptAiart on both platforms from the designer's re-export — cleaner receipt + spark. Updated the sharedcoresource and regenerated both thereact(web) andreact-native(mobile) components.The spark is now fill-only, consistent with the rest of the
ai/set (search,summary,rewrite,one).generate-icons --checkpasses; no churn inapp/modules.Why
ReceiptAiis the entry-point icon for "Drop your receipts with One" in My Spending. It already shipped on web; mobile needs it too, and I refreshed the art after seeing it in context (showed considerably thinner than other icons because "Outline stroke" was originally used when exporting from Figma).Files
core/assets/icons/ai/receipt-ai.svg— shared source (refreshed)react/src/icons/ai/ReceiptAi.tsx— regenerated web componentreact-native/assets/icons/ai/receipt-ai.svg— RN sourcereact-native/src/icons/ai/ReceiptAi.tsx+index.ts— new RN componentreact-native/scripts/generate-icons.mjs,package.json—ai/group + export wiringScreenshots